package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 科室对象 department
 * 
 * @author ruoyi
 * @date 2025-05-07
 */
public class Department extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 科室ID */
    private Integer id;

    /** 所属医院ID */
    @Excel(name = "所属医院ID")
    private Integer hospitalId;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String name;


    /** 状态：0停用，1启用 */
    @Excel(name = "状态：0停用，1启用")
    private Integer status;

    private List<Department> departments;
    private String hospitalName;
    private String hospitaladdress;
    private String areaAddress;
    private String areaName;
    private String dockerName;

    @Override
    public String toString() {
        return "Department{" +
                "id=" + id +
                ", hospitalId=" + hospitalId +
                ", name='" + name + '\'' +
                ", status=" + status +
                ", departments=" + departments +
                ", hospitalName='" + hospitalName + '\'' +
                ", hospitaladdress='" + hospitaladdress + '\'' +
                ", areaAddress='" + areaAddress + '\'' +
                ", areaName='" + areaName + '\'' +
                ", dockerName='" + dockerName + '\'' +
                '}';
    }

    public String getDockerName() {
        return dockerName;
    }

    public void setDockerName(String dockerName) {
        this.dockerName = dockerName;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getHospitaladdress() {
        return hospitaladdress;
    }

    public void setHospitaladdress(String hospitaladdress) {
        this.hospitaladdress = hospitaladdress;
    }

    public String getAreaAddress() {
        return areaAddress;
    }

    public void setAreaAddress(String areaAddress) {
        this.areaAddress = areaAddress;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public List<Department> getDepartments() {
        return departments;
    }

    public void setDepartments(List<Department> departments) {
        this.departments = departments;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }

    public void setHospitalId(Integer hospitalId)
    {
        this.hospitalId = hospitalId;
    }

    public Integer getHospitalId()
    {
        return hospitalId;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }



    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

}
